﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;

namespace DynCMS.NET.Infrastructure.IOC.MVC
{
    internal abstract class DependencyResolver : IDependencyResolver
    {
        protected IServiceProvider _serviceProvider;

        public virtual object GetService(Type serviceType)
        {
            return _serviceProvider.GetService(serviceType);
        }

        public abstract IEnumerable<object> GetServices(Type serviceType);
    }
}